//
//  CoreUserTextFieldComponent.h
//  CoreUser
//
//  Created by Demi on 20/04/2017.
//  Copyright © 2017 Azazie. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CoreUserTextField.h"

UIKIT_EXTERN const CGFloat CoreUserTextFieldComponentExpectedHeight;

@interface CoreUserTextFieldComponent : UIView

@property (nonatomic, assign, getter=isInvalid) BOOL invalid;

@property (nonatomic, readonly, strong) CoreUserTextField *textField;
@property (nonatomic, readonly, strong) UILabel *placeholderLabel;
@property (nonatomic, readonly, strong) UILabel *errorLabel;

- (void)prepare NS_REQUIRES_SUPER;

@end
